package cn.stylefeng.guns.modular.kh.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 提总订单
 * </p>
 *
 * @author zzh
 * @since 2025-10-21
 */
@TableName("kh_order_out")
public class KhOrderOut implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户id
     */
    @TableField("customer_id")
    private Long customerId;

    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;

    /**
     * 单据状态
     */
    @TableField("order_state")
    private String orderState;

    /**
     * 配送日
     */
    @TableField("peisong_time")
    private String peisongTime;

    /**
     * 订单号
     */
    @TableField("order_out_number")
    private String orderOutNumber;

    /**
     * 单据类型
     */
    @TableField("order_type")
    private String orderType;

    /**
     * 发货仓库id
     */
    @TableField("set_warehouse_id")
    private Long setWarehouseId;

    /**
     * 发货仓库
     */
    @TableField("set_warehouse")
    private String setWarehouse;

    /**
     * 收货客户id
     */
    @TableField("get_unit_id")
    private Long getUnitId;

    /**
     * 收货客户名称
     */
    @TableField("get_unit")
    private String getUnit;

    /**
     * 收货客户编码
     */
    @TableField("get_unit_number")
    private String getUnitNumber;

    /**
     * 收货客户序号
     */
    @TableField("get_unit_sort")
    private String getUnitSort;

    /**
     * 创建人
     */
    @TableField("create_user_name")
    private String createUserName;

    /**
     * 提交人
     */
    @TableField("submit_user_name")
    private String submitUserName;

    /**
     * 下发人
     */
    @TableField("dps_user_act")
    private String dpsUserAct;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 提交时间
     */
    @TableField("submit_time")
    private Date submitTime;

    /**
     * 下发时间
     */
    @TableField("dps_down_time")
    private Date dpsDownTime;

    /**
     * 备注
     */
    @TableField("notes")
    private String notes;

    @TableField("work_type")
    private String workType;

    public String getWorkType() {
        return workType;
    }

    public void setWorkType(String workType) {
        this.workType = workType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public String getPeisongTime() {
        return peisongTime;
    }

    public void setPeisongTime(String peisongTime) {
        this.peisongTime = peisongTime;
    }

    public String getOrderOutNumber() {
        return orderOutNumber;
    }

    public void setOrderOutNumber(String orderOutNumber) {
        this.orderOutNumber = orderOutNumber;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Long getSetWarehouseId() {
        return setWarehouseId;
    }

    public void setSetWarehouseId(Long setWarehouseId) {
        this.setWarehouseId = setWarehouseId;
    }

    public String getSetWarehouse() {
        return setWarehouse;
    }

    public void setSetWarehouse(String setWarehouse) {
        this.setWarehouse = setWarehouse;
    }

    public Long getGetUnitId() {
        return getUnitId;
    }

    public void setGetUnitId(Long getUnitId) {
        this.getUnitId = getUnitId;
    }

    public String getGetUnit() {
        return getUnit;
    }

    public void setGetUnit(String getUnit) {
        this.getUnit = getUnit;
    }

    public String getGetUnitNumber() {
        return getUnitNumber;
    }

    public void setGetUnitNumber(String getUnitNumber) {
        this.getUnitNumber = getUnitNumber;
    }

    public String getGetUnitSort() {
        return getUnitSort;
    }

    public void setGetUnitSort(String getUnitSort) {
        this.getUnitSort = getUnitSort;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getSubmitUserName() {
        return submitUserName;
    }

    public void setSubmitUserName(String submitUserName) {
        this.submitUserName = submitUserName;
    }

    public String getDpsUserAct() {
        return dpsUserAct;
    }

    public void setDpsUserAct(String dpsUserAct) {
        this.dpsUserAct = dpsUserAct;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public Date getDpsDownTime() {
        return dpsDownTime;
    }

    public void setDpsDownTime(Date dpsDownTime) {
        this.dpsDownTime = dpsDownTime;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    @Override
    public String toString() {
        return "KhOrderOut{" +
        "id=" + id +
        ", customerId=" + customerId +
        ", customerName=" + customerName +
        ", orderState=" + orderState +
        ", peisongTime=" + peisongTime +
        ", orderOutNumber=" + orderOutNumber +
        ", orderType=" + orderType +
        ", setWarehouseId=" + setWarehouseId +
        ", setWarehouse=" + setWarehouse +
        ", getUnitId=" + getUnitId +
        ", getUnit=" + getUnit +
        ", getUnitNumber=" + getUnitNumber +
        ", getUnitSort=" + getUnitSort +
        ", createUserName=" + createUserName +
        ", submitUserName=" + submitUserName +
        ", dpsUserAct=" + dpsUserAct +
        ", createTime=" + createTime +
        ", submitTime=" + submitTime +
        ", dpsDownTime=" + dpsDownTime +
        ", notes=" + notes +
        "}";
    }
}
